<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="Connect52_AccessOpen_CloseDoor, App_Web_kim3uyhp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<style>
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 18px;
    font-weight: 500;
}
                 .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -18px;
    padding: 7px !important;
}
#MainContent_Label2
{
    font-size:14px;
    font-weight:bold;   
}
#MainContent_Label3
{
    font-size:14px;
    font-weight:bold;   
}
#MainContent_Label4
{
    font-size:14px;
    font-weight:bold;
    padding-top:5px;    
}
#MainContent_Label11
{
    font-size:14px;
    font-weight:bold; 
    padding-top:5px; 
}
#MainContent_Label1
{
    font-size:14px;
    font-weight:bold;
}
.panel-heading {
    padding: 5px;
    background: #ff7038fa !important;
    font-size:16px;
}
.panel
{
    background:#eee;
}
</style>
         <div class="main-panel">
        <div class="content">
        <div class="container" id="closedoor12" runat="server">
     <div class="row dash-pane2">

     <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"><i class="fa fa-edit fa-fw"></i>Download Attendance From Fingerprint Attendance</h4>
                </div>
                <div class="card-body table-responsive">
                <div class="row">
                  <div class="col-lg-5">
         <asp:Label ID="Label1" runat="server" Text="Devices:"></asp:Label>
            <asp:DropDownList ID="Device_List" runat="server" class="form-control" 
                AutoPostBack="True" onselectedindexchanged="Device_List_SelectedIndexChanged">
            </asp:DropDownList>
       
        </div>    
                </div>
                <div class="row" style="margin-left:0px; margin-right:0px; margin-top:15px;">
                 <div class="panel panel-primary" style="width:100%">
                 <div class="panel-heading">Device Info</div>
                 <div class="panel-body">
                   <div class="row" style="padding-top:20px;">
                <div class="col-lg-2" style="padding-top:5px">
                              <asp:Label ID="Label2" runat="server" Text="ID:  "></asp:Label>
        <asp:Label ID="LDev_ID" runat="server"></asp:Label>
                              </div>
                               <div class="col-lg-2" style="padding-top:5px">
                              <asp:Label ID="Label3" runat="server" Text="Serial No:  "></asp:Label>
        <asp:Label ID="LDev_Name" runat="server"></asp:Label>
                              </div>

                              <div class="col-lg-2" style="display:contents; padding-top:5px">
                              <asp:Label ID="Label4" runat="server" Text="Select Door No:"></asp:Label>
                              </div>
                              <div class="col-lg-2">
                                  <asp:DropDownList ID="cbogate" runat="server" CssClass="form-control">
                                  </asp:DropDownList>
                              </div>
                              <div class="col-lg-1"></div>
                               <div class="col-lg-2"  style="display:contents; padding-top:5px">
                              <asp:Label ID="Label11" runat="server" Text="Connect Status:"></asp:Label>
                              </div>
                              <div class="col-lg-1" style="padding-top:5px">
        <asp:Image ID="StatusImg" runat="server" Height="20px" 
            ImageUrl="~/images/redon.png" Width="20px" />
                              </div>
                             
                </div>
                 
                 </div>
                    </div>
                
                </div>
              
                <div class="row" style="margin-left:0px; margin-top:0px; display:none;">
                <ol class="breadcrumb"><li><asp:Label ID="Label9" runat="server" Text="Status" Font-Size="Large"></asp:Label></b></li>
                               
                                  <li> 
        <asp:Label ID="StatusTxt" runat="server" ForeColor=""></asp:Label></li></ol>
                </div>
                <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:120px;">
                <i class="fa fa-plus;"></i>
        <asp:Button ID="Button1" runat="server" type="button" Text="Connect "
           class="btn btn-success" onclick="Button1_Click1"
           /> &nbsp;&nbsp;

           <asp:Button ID="Button3" runat="server" type="button" Text="Open Gate" Visible="false"
           class="btn btn-success" onclick="Button3_Click" /> &nbsp;&nbsp;
           <asp:Button ID="btnuploadcard" runat="server" type="button" Text="Close Door" Visible="false"
           class="btn btn-success" onclick="btnuploadcard_Click" /> &nbsp;&nbsp;

           <asp:Button ID="btnremoveAdmin" runat="server" type="button" Text="Remove Admin" Visible="false"
           class="btn btn-success" onclick="btnremoveAdmin_Click"   /> &nbsp;&nbsp;


           <asp:Button ID="Button2" runat="server" type="button" Text="Close"
           class="btn btn-danger" onclick="Button2_Click"  />
           
           <i  class="fa fa-trash-o;"></i>

                </div>
                </div>
              </div>
       


                            </div></div></div></div>
    </asp:Content>

